package com.duruikang.LeaveAPI.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author Drik
 * @date 2021-12-17 15:16
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("teacher")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 教职工id
     */
    @TableId("teacher_id")
    private String teacherId;
    /**
     * 教工号
     */
    @TableField("teacher_code")
    private String teacherCode;
    /**
     * 教师类别
     */
    @TableField("teacher_type")
    private Integer teacherType;
    /**
     * 账号id
     */
    @TableField("account_id")
    private String accountId;
    /**
     * 教师姓名
     */
    @TableField("name")
    private String name;
    /**
     * 教师性别
     */
    @TableField("sex")
    private Integer sex;
    /**
     * 所属学院
     */
    @TableField("college")
    private Integer college;
    /**
     * 中队
     */
    @TableField("square")
    private Integer square;
    /**
     * 照片
     */
    @TableField("photo")
    private String photo;
    /**
     * 电话
     */
    @TableField("telephone")
    private String telephone;
}